﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cofe.Core.Implements;
using Cofe.Core.Interfaces;

namespace Cofe.Data
{
    public class DBVolumeInfo : VolumeInfo
    {
        public DBVolumeInfo()
        {
            RootEntries = new List<DatabaseEntry>();
        }

         public DBVolumeInfo(IVolumeInfo volInfo)
             : this()
         {
             FactoryId = volInfo.FactoryId;
             VolumeId = volInfo.VolumeId;
             ParamString = volInfo.ParamString;
         }

        public List<DatabaseEntry> RootEntries { get; set; }
    }
}
